/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package eSales.com.DAL;

import eSales.com.WS.DBService;
import eSales.com.WS.DBService_Service;
import java.util.List;

/**
 *
 * @author karamelka
 */
public class LotManager {

    private static final DBService_Service service;
    private static final DBService port;


        static {
        service = new DBService_Service();
        port = service.getDBServicePort();
    }

    public Lot getLot(int id) {
        //return port.getLot(id);
        
        return null;
    }
    
    public List<Lot> getAllLots() {
        
        return null;
    }
    public boolean commit(Lot lot) {
        return true;        
    }
    
    public boolean commitAll(List<Lot> lots) {
        return true;
    }
}
